import Vue from 'vue'
import Vuex from 'vuex'
import home from '@/store/home'
import login from '@/store/login'
import search from '@/store/search'
import detail from '@/store/detail'
import addTocart from '@/store/addTocart'
import shopcart from '@/store/shopcart'
import user from '@/store/user'
Vue.use(Vuex)
const state = {

}
const actions = {

}
const mutations = {

}
const getters = {
  
}
export default new Vuex.Store({
  state,
  actions,
  mutations,
  getters,
  modules: {
    home,
    login,
    search,
    detail,
    addTocart,
    shopcart,
    user
  }
})